package com.mlz.mlzmall.ui.model;

import com.mlz.mlzmall.ui.utils.DataUtils;

/**
 * 获取实名认证信息
 * Created by Administrator on 2016/5/24.
 */
public class RealNameInfo {

    /**
     * status : 0
     * errors : {}
     * msg : null
     * data : {"name":"肖斌","certificateCode":"362428199109173718"}
     */

    private int status;
    private ErrorsBean errors;
    private String msg;
    /**
     * name : 肖斌
     * certificateCode : 362428199109173718
     */

    private DataBean data;

    public int getStatus() {
        return DataUtils.getInt(status);
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public ErrorsBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorsBean errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return DataUtils.getString(msg);
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class ErrorsBean {
    }

    public static class DataBean {
        private String name;
        private String certificateCode;

        public String getName() {
            return DataUtils.getString(name);
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCertificateCode() {
            return DataUtils.getString(certificateCode);
        }

        public void setCertificateCode(String certificateCode) {
            this.certificateCode = certificateCode;
        }
    }
}
